class BannerItem {
  String image;
  String title;
  String url;

  BannerItem(this.image, this.title, this.url);

  BannerItem.fromJson(Map map)
      : this.title = map['title'],
        this.image = map['image'],
        this.url = map['url'];

  Map toJson() => {'image': image, 'title': title, 'url': url};
}
